export function isNull(val) {
    if (typeof val == "number") {
        return false
    }
    if (typeof val == "object") {
        if (Array.isArray(val)) {
            return val.length == 0
        } else {
            return Object.keys(val).length == 0
        }
    }
}